<div class="container">
    <div *ngFor="let alert of alerts">
        <alert [type]="alert.type"><span [innerHtml]="alert.msg"></span></alert>
    </div>
</div>